﻿<Window x:Class="ResourceTranslator.SatelliteCreationWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Satellite Creation Window" Height="347" Width="703"
        xmlns:ns="clr-namespace:ResourceTranslator"
        xmlns:clr="clr-namespace:System;assembly=mscorlib" WindowStartupLocation="CenterOwner">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition  />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
        </Grid.RowDefinitions>

        <ns:LabeledControl Label="Resource Files: " Margin="3" Orientation="Vertical" Grid.Row="0">
            <ns:LabeledControl.Control>
                <StackPanel Orientation="Horizontal">
                    <ListBox Name="resourcesListBox" Margin="5" Grid.Row="1" MinHeight="100" MinWidth="500" 
                             ScrollViewer.CanContentScroll="True" 
                             ScrollViewer.HorizontalScrollBarVisibility="Auto"
                             ScrollViewer.VerticalScrollBarVisibility="Auto"
                             />
                    <StackPanel HorizontalAlignment="Right">
                        <Button Content=" + " Margin="5" Click="AddResources_BtnClick" />
                        <Button Content=" - " Margin="5" Click="RemoveResources_BtnClick" />
                    </StackPanel>
                </StackPanel>
            </ns:LabeledControl.Control>
        </ns:LabeledControl>
        <StackPanel Orientation="Horizontal" Grid.Row="1">
            <ns:LabeledControl Height="22" Label="Culture: " Margin="3" Orientation="Horizontal" Grid.Row="1">
                <ns:LabeledControl.Control>
                    <TextBox x:Name="cultureTextBox" Width="100" />
                </ns:LabeledControl.Control>
            </ns:LabeledControl>
            <ns:LabeledControl Height="22" Label="Version: " Margin="20,0,0,0" Orientation="Horizontal" Grid.Row="2">
                <ns:LabeledControl.Control>
                    <TextBox Text="1.0.0.0" Width="100" x:Name="versionTextBox" />
                </ns:LabeledControl.Control>
            </ns:LabeledControl>
        </StackPanel>
        <ns:LabeledControl Height="22" Label="Key File: " Margin="3" Orientation="Horizontal" Grid.Row="2" >
            <ns:LabeledControl.Control>
                <StackPanel Orientation="Horizontal">
                    <TextBox Text="" Width="325" x:Name="keyfileTextBox" />
                    <Button Content="..." Click="BrowseKey_BtnClick" />
                </StackPanel>
            </ns:LabeledControl.Control>
        </ns:LabeledControl>
        <ns:LabeledControl Height="22" Label="Output Path: " Margin="3" Orientation="Horizontal" Grid.Row="4" >
            <ns:LabeledControl.Control>
                <StackPanel Orientation="Horizontal">
                    <TextBox Text="" Width="325" x:Name="outputpathTextBox" />
                    <Button Content="..." Click="BrowseOutput_BtnClick" />
                </StackPanel>
            </ns:LabeledControl.Control>
        </ns:LabeledControl>
        <Button Content="Create" Grid.Row="5" HorizontalAlignment="Center" Width="100" Margin="5" Click="CreateSatellite_BtnClick" />
    </Grid>
</Window>
